<{include file="admin/header.html"}>
			<ul id="main-nav">  <!-- Accordion Menu -->

				<li>
					<a href="<{spUrl c=admin a=index}>" class="nav-top-item no-submenu">控制面板</a>
				</li>

				<li>
					<a href="#" class="nav-top-item">文章</a>
					<ul>
						<li><a href="<{spUrl c=post a=write}>">撰写新文章</a></li>
						<li><a href="<{spUrl c=post a=index}>">文章管理</a></li>
						<li><a href="<{spUrl c=category a=index}>">分类管理</a></li>
					</ul>
				</li>

				<li>
					<a href="#" class="nav-top-item">页面和区块</a>
					<ul>
						<li><a href="<{spUrl c=page a=write}>">撰写新页面</a></li>
                        <li><a href="<{spUrl c=area a=write}>">撰写新区块</a></li>
						<li><a href="<{spUrl c=page a=index}>">页面管理</a></li>
						<li><a href="<{spUrl c=area a=index}>">区块管理</a></li>
					</ul>
				</li>

				<li>
					<a href="#" class="nav-top-item current">设置</a>
					<ul>
						<li><a class="current" href="<{spUrl c=user a=edit uid=$smarty.session.userinfo.uid}>">个人信息</a></li>
						<li><a href="<{spUrl c=user a=index}>">用户和权限</a></li>
					</ul>
				</li>

			</ul> <!-- End #main-nav -->

		</div></div> <!-- End #sidebar -->

		<div id="main-content"> <!-- Main Content Section with everything -->

			<div class="content-box"><!-- Start Content Box -->

				<div class="content-box-header">

					<h3>编辑用户及权限</h3>

				</div> <!-- End .content-box-header -->

				<div class="content-box-content">

				  <form id="form1" name="form1" method="post" action="<{$formUrl}>" onsubmit="return aclcode();"><!--请务必加上onsubmit事件-->
					<{if $info.uid != ""}><input id="uid" type="hidden" name="uid" value="<{$info.uid}>" /><{/if}>

							<fieldset>

							  <p>
								<label>用户名</label>
									<input class="text-input medium-input" type="text" id="medium-input" name="name" value="<{$info.name}>"  readonly/>	*
	              </p>
                                <p>
									<label>密码</label>
									<!--将生成加密的密码输入框，只需要指定id，不需要指定name-->
									<{pwinput id=password add="class='text-input small-input' name=password"}>*
								</p>
								<p>
								  <label>邮箱</label>
								  <input class="text-input medium-input" type="text" name="mail" value="<{$info.mail}>" />
							  </p>
								<p>
								  <label>网址</label>
								  <input class="text-input medium-input" type="text" name="url" value="<{$info.url}>" />
							  </p>
                              <p>
							    <label>你的姓名（中文）</label>
								  <input class="text-input medium-input" type="text" name="screenname" value="<{$info.screenname}>" />
							  </p>
                              <p>
							    <label>电话</label>
								  <input class="text-input medium-input" type="text" name="phone" value="<{$info.phone}>" />
							  </p>
							  <p>
							    <label>用户组</label>
							    <select name="acl" class="small-input">
								 <{if $info.acl eq "administrator"}>
								<option value="administrator"<{if $info.acl eq "administrator"}> selected="selected" <{/if}>>administrator</option>
								<option value="editor"<{if $info.acl eq "editor"}> selected="selected" <{/if}>>editor</option>
								<{else}>
								<option value="editor"<{if $info.acl eq "editor"}> selected="selected" <{/if}>>editor</option>
								<{/if}>
						        </select>

								<p>
									<input class="button" type="submit" value="保存" />
								</p>

							</fieldset>

							<div class="clear"></div><!-- End .clear -->

						</form>

				</div> <!-- End .content-box-content -->

			</div> <!-- End .content-box --><!-- End .content-box --><!-- End .content-box -->
	    <div class="clear"></div>
<{include file="admin/footer.html"}>